<script lang="ts" setup>
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const runtimeConfig = useRuntimeConfig()

useHead({
  htmlAttrs: { lang: 'zh' },
  title: runtimeConfig.title,
  link: [
    { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
  ],
  meta: [
    { charset: 'utf-8' },
  ],
})

useSeoMeta({
  charset: 'utf-8',
  viewport: 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no',
  keywords: 'DeepNow,人工智能,职业技能培训,智能解决方案,工业自动化',
  description: 'DeepNow - 首个应用于职业技能培训人工智能解决方案，弥补技能鸿沟，10倍节省培训成本，最大化保障培训成功率',
  formatDetection: 'telephone=no',
})
</script>

<template>
  <div>
    <NuxtRouteAnnouncer />
    <el-config-provider size="default" :locale="zhCn" :message="{ max: 3 }">
      <NuxtLayout>
        <NuxtPage />
      </NuxtLayout>
    </el-config-provider>
  </div>
</template>

<style lang="scss" scoped></style>
